<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2020/3/9
 * Time: 11:17
 */

namespace app\restful\controller;
use app\restful\controller\Article;
use app\restful\controller\Member;
//文章资源测试类
class ArticleTest
{

    public function demo(){
        $article = new Article();
        $member = new Member();


        $member->login('张无忌',123456);
       // $res = $article->create('文章标题','文章内容',4);

       // $res = $article->view(1);

        //$res = $article->edit(1,'修改的标题','修改的内容',4);
       // dump($res);
    }







}